﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Collections;
using OgilvyOne.Model;

namespace OgilvyOne.IDAL
{
    public interface IMediaContact
    {
        /// <summary>
        /// 获取媒体联系人信息
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        IList getContactus(MediaContactModel cum);
        /// </summary>
        /// <param> 删除媒体信息</param>
        /// <returns></returns>
        bool delete(int mcid);
        /// </summary>
        /// <param> 添加媒体信息</param>
        /// <returns></returns>
        int Add(MediaContactModel cum);
        /// </summary>
        /// <param> 获取媒体信息</param>
        /// <returns></returns>
        MediaContactModel Get(int mcid);
        /// </summary>
        /// <param> 更新媒体信息</param>
        /// <returns></returns>
        int Update(MediaContactModel cum);
    }
}
